package com.wizz.trade.information.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.*;

/**
 * <p>
 * 品种表
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Data
@TableName("variety")
@AllArgsConstructor
@NoArgsConstructor
public class Variety implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品种名称
     */
    @TableField("name")
    private String name;

    /**
     * 代码
     */
    @TableField("code")
    private String code;

    /**
     * 期货每手数量number of futures
     */
    @TableField("nof")
    private Long nof;

    /**
     * 增值税率(value added tax )
     */
    @TableField("vat")
    private BigDecimal vat;

    /**
     * 关税tariff 
     */
    @TableField("tariff")
    private BigDecimal tariff;

    /**
     * 重量单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 实数结算标志real settle
     */
    @TableField("relset")
    private Byte relset;
}
